package com.caocaog.market.data.transfer.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.caocaog.market.data.transfer.entity.CcAgent;
import com.caocaog.market.data.transfer.entity.CcUser;
import com.caocaog.market.data.transfer.mapper.CcAgentMapper;
import com.caocaog.market.data.transfer.mapper.CcUserMapper;
import com.caocaog.market.data.transfer.service.CcAgentService;
import com.caocaog.market.data.transfer.service.CcUserService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liguang
 * @version 1.0.0
 * @Project jeecg-boot
 * @Package com.caocaog.market.data.transfer.service.impl
 * @ClassName CcUserServiceImpl.java
 * @createTime 2021年11月16日 10:07:00
 * @Description TODO
 */
@Service
public class CcUserServiceImpl extends ServiceImpl<CcUserMapper, CcUser> implements CcUserService {
    @Override
    public IPage<CcUser> findAllUserByOriginal(Page<CcUser> page,CcUser ccUser) {
        return  super.getBaseMapper().findAllUserByOriginal(page,ccUser);
    }

    @Override
    public int countForfindAllUserByOriginal(CcUser ccUser) {
        return super.getBaseMapper().countForfindAllUserByOriginal(ccUser);
    }
    @Override
    public List<CcUser> findAllUserForNoPage(CcUser ccUser){
        return super.getBaseMapper().findAllUserByOriginal(ccUser);
    }




}
